// import com.alibaba.druid.sql.ast.SQLExpr_ptr ;

// import com.alibaba.druid.sql.visitor.SQLASTVisitor;

#include "SQLAlterCharacter.h"
#include "../../../sql/ast/SQLExpr.h"
#include "../../../sql/visitor/SQLASTVisitor.h"

void SQLAlterCharacter::accept0(SQLASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(SQLAlterCharacter)))
  {
    acceptChild(visitor, characterSet);
    acceptChild(visitor, collate);
  }
  visitor->endVisit(SharedObject(SQLAlterCharacter));
}

SQLExpr_ptr SQLAlterCharacter::getCharacterSet()
{
  return characterSet;
}

void SQLAlterCharacter::setCharacterSet(SQLExpr_ptr characterSet)
{
  this->characterSet = characterSet;
}

SQLExpr_ptr SQLAlterCharacter::getCollate()
{
  return collate;
}

void SQLAlterCharacter::setCollate(SQLExpr_ptr collate)
{
  this->collate = collate;
}
